package com.hopu.blb_erp.service;

import com.hopu.blb_erp.entity.Role;

import java.util.List;

public interface RoleService {

    List<Role> findByName(String username);

    List<Role> findAll();

    Integer findCount();

    List<Role> findPage(Integer current, Integer pageSize);

    Role findById(String id);

    void add(Role role);

    void removeById(String id);

    void modifyById(Role role);

    Long findRoleName(String roleName);
}
